/*
 * @Author: thl t15945324431@163.com
 * @Date: 2023-11-01 14:19:40
 * @LastEditors: thl t15945324431@163.com
 * @LastEditTime: 2023-11-29 16:23:05
 * @FilePath: \cw_web\gl\src\request\wallet\rechargeRecord.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react'

//充值记录列表数据
export async function imWalletRechargeOrderInfoPage(params) {
  return await React.$post('/user/api/b/imWalletRechargeOrderInfo/page', params);
}
//宠币订单 分页查询所有数据
export async function apiCoinOrderList(params) {
  return await React.$postJson('/user/api/b/coinOrder/coinOrderList', params);
}
// 导出
export async function imWalletRechargeOrderInfoExport(params) {
  return await React.$post('/user/api/b/imWalletRechargeOrderInfo/list', params);
}
// 导出
export async function apiCoinOrderPage(params) {
  return await React.$postJson('/user/api/b/coinOrder/coinOrderPage', params);
}

// 收款账户
export async function apiImPayManageList(params = {} ) {
  return await React.$postJson('/trade/api/b/imPayManage/list',params)
}

// 充值金额合计
export async function apiGetCoinOrderTotalAmount(params) {
  return await React.$postJson('/user/api/b/coinOrder/totalAmount', params)
}
